package test07.demo1;

import test07.demo1.phone.Xlt;
import test07.demo1.phone.Znsj;

public class Main {
    public static void main(String[] args) {
        Computer computer = new Computer();
        Phone phone = new Phone();
        Xlt xlt = new Xlt();
        Znsj znsj = new Znsj();
        computer.Usecomputer(phone);
        computer.Usecomputer(xlt);
        computer.Usecomputer(znsj);
    }
}
